Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Huawei HiLens/ FAQs/ FAQs/ HiLens Kit Devices/ Device System Operations/ How Do I Install YUM on HiLens Kit Devices?

How Do I Install YUM on HiLens Kit Devices?

Updated on 2023-09-07 GMT+08:00

The EulerOS release 2.0 (SP8) installed on HiLens Kit devices is a tailored version. YUM is not installed by default. You need to log in to your HiLens Kit device and install common tools such as YUM.

Connecting a HiLens Kit Device to a PC Using a Network Cable

Figure 1 and Table 1 show the ports on the rear panel of the HiLens Kit device.
Figure 1 Ports on the rear panel
Table 1 Description of ports on the rear panel

Port

Description

1

Power button

2

Power socket

3

Management network port

  1. Connect a 12 V DC power adapter to the power socket on the rear panel of the HiLens Kit device.
  2. Press and hold the power button for 1 to 2 seconds to power on the HiLens Kit device.
  3. Connect one end of the network cable to the management network port of the device and the other end to an Ethernet port of the PC.

Interconnecting the Network Between the PC and the HiLens Kit Device

Set an IP address and a subnet mask or route for the PC so that the PC can properly communicate with the device.
  1. Click the network icon in the lower right corner of the PC and click Network & Internet settings.
  2. On the Network & Internet settings page, click Change adapter settings to enter the Network Connections page.
  3. After the HiLens Kit device is connected to the PC using a network cable, a corresponding connection is displayed on the Network Connections page of the PC. Right-click the connection (generally named Local Area Connection) and choose Properties from the shortcut menu. The Local Area Connection Properties dialog box is displayed.
  4. Double-click Internet Protocol Version 4 (TCP/IPv4) and select Use the following IP address. Then, enter an IP address that is in the same network segment as the device IP address and click the Subnet mask text box to automatically generate a subnet mask. Click OK.
    For details about the initial IP address of the device, see the Default Value of Initial IP address of the management network port in HiLens Kit User Guide > Default Credentials.
    NOTE:
    • You can connect to the HiLens Kit device using SSH from your local PC only when the IP address configured in Local Area Connection Properties > Internet Protocol Version 4 (TCP/IPv4) > Properties is in the same network segment as the device IP address. The same network segment means that the first three octets of the local connection IP address are the same as that of the device IP address. For example, if the device IP address is 192.168.2.111, the IP address (in the same network segment as the device IP address) configured in Local Area Connection Properties > Internet Protocol Version 4 (TCP/IPv4) > Properties can be 192.168.2.x, where x is an integer from 2 to 255 except 111.
    • If the device IP address has been modified, configure the IP address in Local Area Connection Properties > Internet Protocol Version 4 (TCP/IPv4) > Properties to an IP address in the same network segment as the new device IP address.
    Figure 2 Modifying network properties

Logging In to a HiLens Kit Device Using SSH

  1. Use SSH to remotely connect to the HiLens Kit device.
    1. Start PuTTY, click Session, enter the device IP address in the Host Name (or IP address) text box, and enter the port number in the Port text box. Assume that the device IP address is 192.168.2.111 and the port number is 22. Figure 3 shows the login window.
      Figure 3 Using PuTTY to log in to the HiLens Kit device
    2. Click Open.

      Log in to the device.

  2. Use SSH to remotely connect to the device system.

    After the admin@192.168.2.111's password prompt, enter the admin password. For details about the preset password for the first login, see HiLens Kit User Guide > Default Credentials.

  3. Use SSH to remotely log in to the developer CLI.
    1. After the IES:/-> prompt is displayed, run the develop command.
    2. After the Password prompt, enter the root password. For details about the preset password for the first login, see HiLens Kit User Guide > Default Credentials.
    Figure 4 Connecting to the device using SSH

Installing YUM

Go to the developer forum and download the YUM package. Upload the package to the /tmp directory of the HiLens Kit device, decompress the package, and run the install.sh script to install YUM in one-click.

The install.sh script performs the following operations:

  1. Install YUM and configure the YUM source.
  2. Use YUM to install python3-devel, OpenBLAS, BLAS, GCC-GFortran, libarchive-devel, CMake, GCC-C++, Automake, Autoconf, Libtool, and Make.
  3. Configure the ld link ln -s /usr/bin/ld.bfd /usr/bin/ld.
  4. Use a tool such as CMake by running export LD_LIBRARY_PATH=/usr/lib64/:$LD_LIBRARY_PATH (available in the script).
NOTE:
  1. You can modify the script to install libraries as required.
  2. The dependent libraries of tools such as CMake may conflict with some libraries in /home/hilens/skillframework. To run a skill, you may need to run the export LD_LIBRARY_PATH=/home/hilens/skillframework/lib/ command again, or close the current session and open a new window. Otherwise, errors may occur because some symbols cannot be found.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback