How To Install livecd-rootfs on Ubuntu 20.04
Introduction
In this tutorial we learn how to install livecd-rootfs
on Ubuntu 20.04.
What is livecd-rootfs
livecd-rootfs is:
livecd-rootfs provides the script used to create the root filesystem on the livecd.
Package: livecd-rootfs Architecture: amd64 Version: 2.664 Priority: optional Section: devel Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 518 Depends: apt-utils, attr, debootstrap, distro-info, dosfstools, e2fsprogs, gdisk, genisoimage, germinate (>= 1.25.1), git, gnupg, grep-dctrl, kpartx, live-build (>= 3.0~a57-1ubuntu31~), lsb-release, lzma, make, parted, procps, python3, python3-apt, python3-software-properties, python3-yaml, qemu-utils, rsync, snapd (>= 2.39), squashfs-tools (>= 1:3.3-1), sudo, ubuntu-image, python3-vmdkstream, xz-utils, zerofree Breaks: ubuntu-defaults-builder (« 0.32) Filename: pool/main/l/livecd-rootfs/livecd-rootfs_2.664_amd64.deb Size: 80068 MD5sum: c17f79a7d8e360def70d43bb927d9aa8 SHA1: 3dc384caf2258817449800d39be05a66f6ae253a SHA256: b8622c460535511370e3116b6c627c6b408c88a8c40ae9798c21c8d9edf398f2 Description-en: construction script for the livecd rootfs livecd-rootfs provides the script used to create the root filesystem on the livecd.
There are three methods to install livecd-rootfs
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install livecd-rootfs Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install livecd-rootfs
using apt-get
by running the following command:
sudo apt-get -y install livecd-rootfs
Install livecd-rootfs Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install livecd-rootfs
using apt
by running the following command:
sudo apt -y install livecd-rootfs
Install livecd-rootfs Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install livecd-rootfs
using aptitude
by running the following command:
sudo aptitude -y install livecd-rootfs
How To Uninstall livecd-rootfs on Ubuntu 20.04
To uninstall only the livecd-rootfs
package we can use the following command:
sudo apt-get remove livecd-rootfs
Uninstall livecd-rootfs And Its Dependencies
To uninstall livecd-rootfs
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove livecd-rootfs
Remove livecd-rootfs Configurations and Data
To remove livecd-rootfs
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge livecd-rootfs
Remove livecd-rootfs configuration, data, and all of its dependencies
We can use the following command to remove livecd-rootfs
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge livecd-rootfs
References
Summary
In this tutorial we learn how to install livecd-rootfs
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.