[orca-list] Keep Linux Tidy



sorry if this is off-topic. If there are any other email lists where this would be more appropriate, then please share them with me! đź‘Ť 

I am new to Linux and have a very simple question. I’m OCD and must keep my new Ubuntu install clean and tidy in regard to the files in file system. I understand that everything can automatically be kept clean by using apt autoclean after apt installing something. How is it that I can do the same thing if I manually download and install some thing. Here is an example after installing veracrypt with apt and having to manually download and run the installation script.

. Download the installer tarball by running the command below.

wget https://launchpad.net/veracrypt/trunk/1.23/+download/veracrypt-1.23-setup.tar.bz2

Once the download is complete, extract the VeraCrypt tarball, navigate to the source code extract directory and run the VeraCrypt installer.

tar -xjf veracrypt-1.23-setup.tar.bz2

This will extrct the VeraCrypt setup scripts in the current working directory.


—- I understand that the WGET command will grab and download the installation and then I unzip and run the script. This is just an example, but is there an easier way to clean up this or anything similar to this other than having to manually run, “rm file” and also rm on the directory?


Should I CD to the downloads folder before running wget or git clone and then somehow use a command to remove everything in the folder after it has been used?


Lastly, if I download an application or even just a script using something like wget or git clone, is there a certain place I should move the application for executable script to put it with my other applications? If I do so, would Atkin be able to see it with other applications by typing Alt F1.


I very much appreciate any help you can provide ahead of time. Sorry for the noob question.

 


Never bend your head. Always hold it high. Look the world straight in the eye.” 

~ Helen Keller


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]