11/12/2023 0 Comments Debian live usb![]() ![]() Now open your terminal and issue sudo apt-get install package_name to install new packages or sudo apt-get upgrade to update installed packages offline. Burn / mount the ISO Copy the files to a FAT32 formatted USB drive. ![]() Now all the package files and updates you've downloaded are in the apt-get install search path of your system. The default username and password is root / toor. Sudo rmdir /mnt/load_iso #deletes the mount point load_iso. Sudo umount /mnt/load_iso #unmount the mounted iso archive. Sudo mount -o loop ARCHbackUP.iso /mnt/load_iso #mounts the iso archive.Ĭd /mnt/load_iso #taking you in the mounted directory. Sudo apt-get clean #cleans the /var/cache/apt/archives directory. Genisoimage -o ARCHbackUP.iso -R -J ~/ARCHbackUP Sudo chown -R username:username ARCHbackUP/. Copy all the files from USB to this folder and then follow the codes below: cd ~ In this situation just create a folder in your home directory, say, ARCHbackUP. You have backup copies of the package files (that you have downloaded in another computer) in your USB drive. If you want to download packages on one computer (Linux, Mac or Windows) and install them on an Ubuntu system, you can use keryx. ![]() Sudo apt-cdrom -d=/aptoncd-mountpoint add Sudo mount /media/USB/aptoncd.iso ~/aptoncd-mountpoint -oloop You will need to open a terminal Applications -> Accessories -> Terminal and run these commands: sudo mkdir /aptoncd-mountpoint If you want to use the ISO image as a software source without burning it, the process will be a bit more complicated. You then need to go to System -> Administration -> Software Sources, click 'Other Software' and click 'Add CD-ROM.'. The easiest way to add the image as a software source is to burn it to a CD/DVD. How to create a bootable USB stick on Linux. This image can be transported on a usb stick. 6 Answers Sorted by: 22 You should build a repository in a local directory and point a file: URI entry to your APT sources (see URI SPECIFICATION in man sources.list ): deb file:/home/user/repository To make apt work, you need to create a list of packages (Packages.gz) for APT to consume. Please be aware of the following limitations of the live images: They should not be used to install. It can be used to create a CD image that can be added as a software source. In the future, you are better off using a program called aptoncd which can be installed from the repositories. To view/install these packages, run System -> Administration -> Synaptic Package Manager, click the 'Origin' button and choose 'Local' from the list. Once you have done, make sure you close the file manager window because it is not a good idea to use the file manager as root except for the tasks that absolutely require it. To do this, press alt-f2, enter gksudo nautilus and do the copy. I don't think there is a way to add this as a repository but you can use it to install the packages by copying the contents to your /var/cache/apt/archives. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |