Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4546  / 3 Years ago, thu, october 14, 2021, 4:28:44

I built Alacritty by following the instructions from Alacritty Github and I don't know how to update it.


So, I thought if I install Alacritty with this code ↧, It will be easy to update it.


sudo add-apt-repository ppa:aslatter/ppa
sudo apt install alacritty

Can anyone help me to remove it, or guide me on how to update it?


Thank you


More From » uninstall

 Answers
2

In principle, you should know the details of your installation procedure in order to be able to fully undo the installation. In as far as I see, everything from the compilation is under a target/release/alacritty somewhere. From there, you manually moved things out to /usr/local/bin and other places, as indicated under Desktop Entry. Just undo these actions.



  • Remove /usr/local/bin/alacritty. Already from now on, the new version will be the one that you launch with the command alacritty

  • Remove /usr/share/pixmaps/Alacritty.svg

  • With respect to Alacritty.desktop, be carefull. It is most likely in /usr/share/applications when it is installed using desktop-file-install. It could have been overwritten by your PPA install, although some PPA's package the desktop file as com.alacritty.Alacritty.desktop. If the latter file exists in /usr/share/applications, then you can remove Alacritty.desktop. IF that file is not there, it may be elsewhere on your system. If needed, search where it is. You can then do a sudo update-desktop-database to update the system that that launcher is gone.

  • Finally, remove the folder where the compiled files were placed if you did not already.


Some background: When you installed Alacritty from the PPA, the binary will be located in /usr/bin. However, the version that you have compiled manually is, if you followed all instructions, in /usr/local/bin. The latter folder comes earlier in the search path for applications (look at that path with the command echo $PATH). So despite installing the PPA version, the manually compiled version continues to be the one that is executed.


[#1334] Saturday, October 16, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
heaco

Total Points: 479
Total Questions: 124
Total Answers: 114

Location: Lesotho
Member since Sat, Oct 1, 2022
2 Years ago
heaco questions
Sun, Aug 15, 21, 03:08, 3 Years ago
Thu, Jun 30, 22, 09:40, 2 Years ago
Wed, Apr 27, 22, 00:57, 2 Years ago
;