Skip to main content

Cleaning up ubuntu

Ubuntu and other flavors of Linux don't really need cleaning up as you might do in Windows. Over time, of course, you might accumulate things on your computer that you might not wish to keep - old documents, no-longer-used programs, etc. - but there is nothing really akin to the Windows registry that simply builds up clutter that slows your computer. The old stuff you save won't slow down your computer: it will probably run as fast a year from now as it does today.
To clean some packages laying around
Run:
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get autoclean

But you can do the following to clean up your computer:
Installing ubuntu tweak:

sudo add-apt-repository ppa:tualatrix/next  
sudo apt-get update
sudo apt-get install ubuntu-tweak

and then run ubuntu-tweak and there is an option called Janitor which is used for cleaning as seen in the picture:



BLEACHBIT:

BleachBit  deletes unnecessary files to free valuable disk space, maintain privacy, and remove junk. Rid your system of old clutter including
       cache,  temporary files, cookies, and broken shortcuts.  It wipes clean
       Bash, Beagle, Epiphany,  Firefox,  Flash,  Java,  KDE,  OpenOffice.org,
       Opera, RealPlayer, rpmbuild, VIM, XChat, and more.

Features

BleachBit has many useful features designed to help you easily clean your computer to free space and maintain privacy.
  • Simple operation: read the descriptions, check the boxes you want, click preview, and click delete.
  • Multi-platform: Linux and Windows
  • Free of charge
  • Free to share, learn, and modify (open source)
  • No adware, spyware, malware, or browser toolbars
  • Translated to 60 languages
  • Shred files to hide their contents and prevent data recovery
  • Shred any file (such as a spreadsheet on your desktop)
  • Overwrite free disk space to hide previously deleted files
  • Portable app for Windows: run without installation
  • Command line interface for scripting and automation
  • CleanerML allows anyone to write a new cleaner using XML
  • Automatically import and update winapp2.ini cleaner files (a separate download) giving Windows users access to 1200+ additional cleaners
  • Frequent software updates with new features

Advanced cleaners

Going beyond standard deletion of files, BleachBit has several advanced cleaners:
  • Clear the memory and swap on Linux
  • Delete broken shortcuts on Linux
  • Delete the Firefox URL history without deleting the whole file—with optional shredding
  • Delete Linux localizations: delete languages you don't use. More powerful than localepurge and available on more Linux distributions.
  • Clean APT for Debian, Ubuntu, Kubuntu, Xubuntu, and Linux Mint
  • Find widely-scattered junk such as Thumbs.db and .DS_Store files.
  • Execute yum clean for CentOS, Fedora, and Red Hat to remove cached package data
  • Delete Windows registry keys—often where MRU (most recently used) lists are stored
  • Delete the OpenOffice.org recent documents list without deleting the whole Common.xcu file
  • Overwrite free disk space to hide previously files
  • Vacuum Firefox, Google Chrome, Liferea, Thunderbird, and Yum databases: shrink files without removing data to save space and improve speed
  • Surgically remove private information from .ini and JSON configuration files without deleting the whole file
You can install it from the software-center or by typing the following in a terminal:
sudo apt-get install bleachbit

Popular posts from this blog

How to setup a wifi-hotspot in Ubuntu: The terminal way.

Ubuntu has a "Use as hotspot" mode. But it creates a n ad-hoc network only.Wireless hotspots aren't same as ad hoc networks. Significant difference is there. In short, ad hoc networks aren't supported in most Android, Windows Phone and Blackberry devices (and may be iOS devices too) whereas AP mode Wi-Fi hotspots are.

              It is really simple and easy to setup a hotspot in Ubuntu. We use a tool called ap-hotspot. To install it open a terminal and type the following:

sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install ap-hotspot
             Next, to start the hotspot type the following in a terminal:
sudo ap-hotspot start
It asks you which adapter's internet you want to share, name of the network, password, etc. in an interactive manner. To stop the hotspot type the following n the terminal :
sudo ap-hotspot stop
To configure it type the following in the terminal :
sudo ap-hotspot configure

INSTALLING MOBILE PARTNER IN LINUX

Most of you who have a Huawei USB modem (data card) might have tried to install mobile partner (dash board) in Linux. Here I will show you how to install mobile partner in Linux. First, you have to copy the folder called Linux in the data card. The files in the data card are not accessible from Linux so copy them from Windows. Now right click the file “install” in the “Linux” folder. Go to the permissions tab and select the check box beside Allow executing as a program. Now open a terminal by pressing CTRL + ALT + Tkeys. Change the working directory to the folder “Linux” by using “cd <path to folder>”. Now type ./install. If you had installed this software in your system before, you will get a prompt: "The software is exist, do you want overwrites? ([Y]/[N])", enter "y" to overwrites or "n" to exit. If you do not had installed this software in your system before, you will get a prompt: "Please input the install path[/usr/local/Mobile_Partner]:"…

How to install OpenVAS 7 in Ubuntu

OpenVAS is a framework of several services and tools offering a comprehensive and powerful vulnerability scanning and vulnerability management solution.

This is a guide for installing OpenVAS in Ubuntu. 

STEP 1:

First we need to prepare our system for installation of OpenVAS. Open a terminal and type the following command:

sudo apt-get install build-essential bison flex cmake pkg-config libglib2.0-0 libglib2.0-dev libgnutls26 libgnutls-dev libpcap0.8 libpcap0.8-dev libgpgme11 libgpgme11-dev doxygen libuuid1 uuid-dev sqlfairy xmltoman libsqlite3-0 libsqlite3-dev libxml2-dev libxslt1.1 libxslt1-dev xsltproc libmicrohttpd-dev libldap-2.4-2 libldap2-dev

STEP 2:

Now we need to download the OpenVAS source packages from the OpenVAS website. You can download it from the the website or you can use the terminal to download the files using the following commands:  

mkdir openvas-srccd openvas-src/wget http://wald.intevation.org/frs/download.php/1638/openvas-libraries-7.0.1.tar.gzwget http://wald.inteva…