Novice install a virtual machine and install Ubuntu16.10 on VNware petalinux VMware Tool is simple to install Ubuntu apt-get install E: Unable to locate package Ubuntu apt-get install E: Unable to locate package

 

1. Download

VMware

VMware-workstation-full-15.0.0-10134415.exe

To find their own activation code

Ubuntu mirror

UG1144 PetaLinux Tools Documentation recommend Ubuntu Linux 16.04.5, 18.04.1

ubuntu-16.04.5-desktop-amd64.iso

http://old-releases.ubuntu.com/releases/16.04.5/ubuntu-16.04.5-desktop-amd64.iso

 

2. Install Ubuntu16.04.5 on VMware

File -> New Virtual Machine

 

 

 

 

 

 

Next click Custom Hardware

ISO settings

Set network bridge

Click Finish.

 

Then click to open the virtual machine

 

 

Then set up a user name and password to enter the installation phase, patiently waiting for it.

Click Restart Now

If you can not restart, then right click -> Power -> Restart Client

 

Enter the password, enter interface

 

ctrl + alt + t recall terminal

1) Set the root password

$sudo passwd

2) Install VMware Tools

 Novice VMware Tool simple installation

3) to adjust the time

Look at the wrong time, by what time and date settings

 

4) Network

http://1.1.1.2 Username Password Log (Internet management company)

Here, if not the Internet, check Edit -> Virtual Network Editor -> Change Settings is set to bridge mode, select the hardware card

VM -> right-bridged mode set the network adapter, the network connection state of the physical replication

Basically you can pass.

5)sudo apt-get update

If the update is not passed, you might need to set up source.list

Reference Ubuntu apt-get install E: Unable to locate package Ubuntu apt-get install E: Unable to locate package

 

 

3. petalinux mounted on Ubuntu16.04.5

Toss two days before the problems, it is because the wrong version of Ubuntu, it is necessary to strictly follow UG1144 PetaLinux Tools Documentation recommendation to

The stepped pit well is not worth ah ah ah ah.

1) Download

Then fill the URL

2) the shell to bash

sudo dpkg-reconfigure dash

At this time, look at the / bin / sh points to bash

2) install dependencies

 UG1144

 

sudo apt-get install tofrodos iproute gawk make net-tools libncurses5-dev tftpd zlib1g:i386 libssl-dev flex bison libselinux1 gnupg wget diffstat chrpath socat xterm autoconf libtool tar unzip texinfo zlib1g-dev gcc-multilib build-essential git libsdl1.2-dev libglib2.0-dev

 4) Installation petalinux

I will petalinux-v2018.3-final-installer.run placed within VMware-share file

/Mnt/hgfs/Ubuntu-16.04.5/ directory corresponding to the Ubuntu-16.04.5

Note that you must install petalinux non-root users

To avoid permissions issues, the new petalinux directory under ~ / work directory

 

/mnt/hgfs/Ubuntu-16.04.5/petalinux-v2018.3-final-installer.run ./petalinux/
installation process will appear

INFO: Checking installation environment requirements...
INFO: Checking free disk space
INFO: Checking installed tools
INFO: Checking installed development libraries
INFO: Checking network and other services
WARNING: No tftp server found - please refer to "PetaLinux SDK Installation Guide" for its impact and solution
INFO: Checking installer checksum...
INFO: Extracting PetaLinux installer...
LICENSE AGREEMENTS

PetaLinux SDK contains software from a number of sources.  Please review
the following licenses and indicate your acceptance of each to continue.

You do not have to accept the licenses, however if you do not then you may
not use PetaLinux SDK.

PgUp the Use / PgDn to the Navigate at The License Viewer, and Press 'q' to use Close

Press the Enter to Run the display at The License Agreements
at this time need to press the enter key, let you read LICENSE AGREEMENTS, press q, then y, so three times.

Do you accept Xilinx End User License Agreement? [y/N] > y
Do you accept Webtalk Terms and Conditions? [y/N] > y
Do you accept Third Party End User License Agreement? [y/N] > y
INFO: Installing PetaLinux...
INFO: Checking PetaLinux installer integrity...
INFO: Installing PetaLinux SDK to "./petalinux//."
INFO: Installing aarch64 Yocto SDK to "./petalinux//./components/yocto/source/aarch64"...
INFO: Installing arm Yocto SDK to "./petalinux//./components/yocto/source/arm"...
INFO: Installing microblaze_full Yocto SDK to "./petalinux//./components/yocto/source/microblaze_full"...
INFO: Installing microblaze_lite Yocto SDK to "./petalinux//./components/yocto/source/microblaze_lite"...
INFO: PetaLinux SDK has been installed to ./petalinux//.

At this point installed.

sudo mv ~/work/petalinux /opt/

source /opt/petalinux/settings.sh set up the environment

xsct and other tools can be directly used.

 

4.ssh

apt-get install openssh-server

/etc/init.d/ssh restart the process of certification on OK

 

5.sftp

apt-get install vsftpd

/etc/init.d/vsftpd restart the process of certification on OK

 

6. Run sdk

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/idyllcheung/p/11422904.html