![]() ![]() These practices, which encompass data management, programming, collaborating with colleagues, organizing projects, tracking work, and writing manuscripts, are drawn from a wide variety of published sources from our daily lives and from our work with volunteer organizations that have delivered workshops to over 11,000 people since 2010. This paper presents a set of good computing practices that every researcher can adopt, regardless of their current level of computational skill. Computing workflows need to follow the same practices as lab projects and notebooks, with organized data, documented steps, and the project structured for reproducibility, but researchers new to computing often don't know where to start. As a result, data can get lost, analyses can take much longer than necessary, and researchers are limited in how effectively they can work with software and data. Also, read the Bleachbit manpage with the command man bleachbit, so you have a better understanding of what the tool can do.Computers are now essential in all branches of science, but most researchers are never taught the equivalent of basic lab skills for research computing. Issue the command man apt and give the apt manpage a read, so you know exactly what’s going on with each command. When you’re running commands that can alter your system, make sure to use them with caution. Until you know exactly what you’re doing, avoid using this tool to delete any system caches. Just make sure to use Bleachbit with caution. Once installed, run the tool with the command bleachbit, select what you want to clean ( Figure A), and click the trash can icon. This particular take on the janitorial tool can be found in the standard repositories, so installation is as simple as sudo apt install bleachbit. One of the most popular such tools is Bleachbit. These tools do an outstanding job of cleaning up various caches (apt, bash, Firefox, Google Chrome, Flash, LibreOffice, system, etc.). ![]() There are a number of tools that take over the janitorial process. Once installed, issue the command sudo ucaresystem-core to start the process. Sudo add-apt-repository ppa:utappia/stable To install ucaresystem-core, open up a terminal window and issue the following commands: Delete settings from previously installed packages.Check if there are any old Linux Kernels and uninstall them.With this tool in place, you can, with a single command, take care of the following: If you want to roll all of the best apt options into one command, install ucaresystem-core. The purge option is very useful when you want to start over with a package installation (otherwise, when you reinstall, it will pick up the previous configuration options). Where PACKAGENAME is the name of the software to be removed. When you remove a package, to avoid leaving behind configuration files, you can use the purge option, instead of the remove option, like so: To remove any/all packages that were automatically installed (to satisfy dependencies for a package) that are no longer needed: To flush the local cache of retrieved package files, issue the command: The apt package manager has a few options you should never fail to take advantage of. In the end, if you do have to install software from source, make sure to install it into /usr/local (as per the Free Software Foundation guidelines). So, unless the only option is source, always install using the sudo apt install command. Also, upgrading software installed from source can be a real nightmare–so much so, you might avoid updating altogether (and we know how wrong that is). Why? Because with apt aware of what is installed, it is better capable of caring for the packages. Unless it cannot be avoided, always install using the apt package manager. You might be surprised to hear this, but you are much better off if you avoid installing from source. I want to offer up a few quick tips, so you can keep your Ubuntu machines running smoothly. To that end, it’s always best to know exactly what to do with the tools at hand. The task isn’t all that hard (especially when you know the right commands and tools), but for some, it’s just another brick in an already very tall wall. If you administer Ubuntu desktops or servers, you know that to keep them running optimally, they do need a bit of cleaning now and then. With a few commands, Jack Wallen shows you what you can do to make this task simple. Keeping Ubuntu cleaning and running smooth doesn't have to be a massive headache. How to keep Ubuntu desktops and servers running clean ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |