Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 773  / 2 Years ago, sat, may 21, 2022, 8:47:25

This answer for installing nautilus-compare on 20.04 didn't work for 22.04 because it has no release file for jammy.


But it seemed to work if I pointed it to the focal package instead:


sudo add-apt-repository ppa:boamaod/nautilus-compare
sudo sed -i 's/jammy/focal/g' /etc/apt/sources.list.d/boamaod-ubuntu-nautilus-compare-jammy.list
sudo apt-get install nautilus-compare

Is this the best way to install nautilus-compare on Ubuntu 22.04?


More From » apt

 Answers
3

Here is how I installed nautilus-compare on 22.04:


Install direct from source is possible by doing the following:


Install the nautilus python3 bindings


sudo apt-get install python3-nautilus

Download the latest source


wget https://launchpad.net/~boamaod/+archive/ubuntu/nautilus-compare/+sourcefiles/nautilus-compare/1.0.0~focal1/nautilus-compare_1.0.0~focal1.tar.xz

tar -xvf nautilus-compare_1.0.0~focal1.tar.xz

Install the source files


cd nautilus-compare-1.0.0/src
sudo cp nautilus-compare.py /usr/share/nautilus-python/extensions/

sudo mkdir /usr/share/nautilus-compare
sudo cp utils.py /usr/share/nautilus-compare
sudo cp nautilus-compare-preferences.py /usr/share/nautilus-compare

Install any missing python3 modules


At this point, if the python source uses any modules you don't have installed, then you will need to install them too, for example using pip. I already had all the modules so didn't need to.


Then restart nautilus and the compare menu should now appear.


nautilus -q && nautilus &

[#378] Monday, May 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fatuatexen

Total Points: 451
Total Questions: 107
Total Answers: 110

Location: Trinidad and Tobago
Member since Thu, Apr 27, 2023
1 Year ago
;