Install squashfs-tools on Ubuntu: sudo apt-get install squashfs-tools

Learn how to install squashfs-tools with the command sudo apt-get install squashfs-tools on Ubuntus.


 

Ads

Quick installation of squashfs-tools:

Step 1: Update system:

	sudo apt-get update

Step 2: Install: squashfs-tools

Ater updaing the OS run following command to install the packae:

	sudo apt-get install squashfs-tools

Package Details

Package:squashfs-tools
Version:1:4.2-4build1
Maintainer:Ubuntu Developers
Home page:http://squashfs.sourceforge.net/
Description:Tool to create and append to squashfs filesystems Squashfs is a highly compressed read-only filesystem for Linux. It uses zlib compression to compress both files, inodes and directories. Inodes in the system are very small and all blocks are packed to minimise data overhead. Block sizes greater than 4K are supported up to a maximum of 64K. . Squashfs is intended for general read-only filesystem use, for archival use (i.e. in cases where a .tar.gz file may be used), and in constrained block device/memory systems (e.g. embedded systems) where low overhead is needed. Homepage: http://squashfs.sourceforge.net/
Distro:Ubuntu 12.04 LTS
Release:
Repo/Section:admin

How to install squashfs-tools on Ubuntu 12.04 LTS?

Install squashfs-tools on Ubuntu: sudo apt-get install squashfs-tools

First of all update your system with the command:

sudo apt-get update

Ads

Above command will download the package lists for Ubuntu 12.04 LTS on your system. This will update the list of newest versions of packages and its dependencies on your system.

After downloading the latest package list with the help of above you can run the installation process.

If squashfs-tools is not installed on your compter then the command 'dpkg -L squashfs-tools' will give followin error.

deepak@deepak-VirtualBox:~$ dpkg -L squashfs-tools
Package `squashfs-tools' is not installed.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
deepak@deepak-VirtualBox:~$ 

Installing squashfs-tools:

After system update use the following command to install squashfs-tools:

sudo apt-get install squashfs-tools

Above command will confirm before installing the package on your Ubuntu 12.04 LTS Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.

How to uninstall/remove squashfs-tools from Ubuntu 12.04 LTS?

Now we will see the commands for uninstalling the squashfs-tools from Ubuntu 12.04 LTS. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.

To remove the squashfs-tools following command is used:

sudo apt-get remove  squashfs-tools

Following command is used to remove the squashfs-tools package along with its dependencies:

sudo apt-get remove --auto-remove squashfs-tools

This will remove squashfs-tools and all its dependent packages which is no longer needed in the system.

Completely removing squashfs-tools with all configuration files:

Following command should be used with care as it deletes all the configuration files and data:

sudo apt-get purge squashfs-tools

or you can use following command also:

sudo apt-get purge --auto-remove squashfs-tools

Above command will remove all the configuration files and data associated with squashfs-tools package. You can can't recover the delete data, so, use this command with care.