How To Install timeshift on Kali Linux
Introduction
In this tutorial we learn how to install timeshift
on Kali Linux.
What is timeshift
timeshift is:
Timeshift is a system restore utility which takes snapshots of the system at regular intervals. These snapshots can be restored at a later date to undo system changes. Creates incremental snapshots using rsync or BTRFS snapshots using BTRFS tools.
There are three methods to install timeshift
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install timeshift Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install timeshift
using apt-get
by running the following command:
sudo apt-get -y install timeshift
Install timeshift Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install timeshift
using apt
by running the following command:
sudo apt -y install timeshift
Install timeshift Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install timeshift
using aptitude
by running the following command:
sudo aptitude -y install timeshift
How To Uninstall timeshift on Kali Linux
To uninstall only the timeshift
package we can use the following command:
sudo apt-get remove timeshift
Uninstall timeshift And Its Dependencies
To uninstall timeshift
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove timeshift
Remove timeshift Configurations and Data
To remove timeshift
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge timeshift
Remove timeshift configuration, data, and all of its dependencies
We can use the following command to remove timeshift
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge timeshift
Dependencies
timeshift have the following dependencies:
- psmisc
- rsync
- libc6
- libcairo2
- libgdk-pixbuf-2.0-0
- libgee-0.8-2
- libglib2.0-0
- libgtk-3-0
- libjson-glib-1.0-0
- libvte-2.91-0
References
Summary
In this tutorial we learn how to install timeshift
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.