How to delete and reinstall Inkscape in Ubuntu and Linux Mint

I was trying to install Inkscape on my Ubuntu test PC via Terminal, but Ubuntu says that “inkscape is already the newest version”, “0 upgraded, 0 newly installed”. But I couldn’t locate the program in the ‘Applications’ nor was able to launch it from command-line by ‘inkscape’ command. It showed error as “The program ‘inkscape’ is currently not installed. You can install it by typing: sudo apt-get install inkscape”.

fix corrupted inkscape installation ubuntu

With in no time, I understood something is wrong my inkscape installation. It must be corrupted. The only way is to completely uninstall inkscape and reinstall it as fresh installation. I proceeded as follows and it worked!

Completely Uninstall Corrupted Inkscape

STEP 1: Launch ‘Terminal’ and run the command:

cd /etc/apt/sources.list.d/

STEP 2: Remove inkscape PPA sources using ‘rm’ command with * wild character.

sudo rm inkscape*

You have to enter root password when prompted.

STEP 3: Now purge inkscape.

sudo apt-get purge inkscape

STEP 4: Clean inkscape:

sudo apt-get clean

STEP 5: Update PPA repository sources:

sudo apt-get update

STEP 6: Finally install inkscape again.

sudo apt-get install inkscape

Enter root password and ‘y’ when prompted.

After installation is complete, you can launch Inkscape from ‘Applications’ or via Terminal with command:

inkscape
Kiran Kumar
Hi there! I'm Kiran Kumar, founder of FOSSLinux.com. I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!

LEAVE A REPLY

Please enter your comment!
Please enter your name here

STAY CONNECTED

24,720FansLike
164FollowersFollow

LATEST ARTICLES

Create a ClamAV Antivirus Live USB drive, and how to use it

Antivirus Live CD or USB drives come in handy at times when your computer is infected with a virus and other malware. Here is how you can create a ClamAV Live USB drive to scan and remove the malware from a computer.