×


Blog


Install and Use Kaffeine in Ubuntu 20.04 - Step by Step Process ?

This article covers how to install Kaffeine on Ubuntu 20.04 system. Kaffeine is the media player that is used for playing different videos and audios in various formats. Not only this but users run files from external devices like DVDs and CDs. 

Kaffeine provides the additional functionality of playing live digital television.


Install kaffeine by entering the following commands in the terminal:

$ sudo apt update
$ sudo apt install kaffeine


Change User Password in Ubuntu Linux - Step by Step Process ?

This article covers how you can change user password in Linux either graphically or using the command line. Both Linux and UNIX-like operating systems use the passwd command to change user password. 

This applies to any Linux distribution, including Alpine, Arch, Ubuntu, Debian, RHEL, Fedora, Oracle CentOS, SUSE/OpenSUSE and other popular Linux distros.

The passwd is used to update a user's authentication token (password) stored in /etc/shadow file. 


To Set User Password in Linux:

Type following passwd command to change your own password:

$ passwd


To see all user account try grep command or cat command as follows:

$ cat /etc/passwd
$ grep '^userNameHere' /etc/passwd
$ grep '^linuxapt' /etc/passwd


Install PyCharm on Ubuntu 20.04 - Step by Step Process ?

This article covers how to install PyCharm on your Ubuntu 20.04 system. 

PyCharm is a cross-platform IDE that provides consistent experience on the Windows, macOS, and Linux operating systems. Also, you can also remove it any time from your Ubuntu 20.04 system by following the steps outlined in this guide. 


Main features of PyCharm IDE:

1. Syntax highlighting

2. Auto-Indentation and code formatting

3. Code completion

4. Line and block commenting

5. On-the-fly error highlighting

6. Code snippets

7. Code folding

8. Easy code navigation and search

9. Code analysis

10. Configurable language injections

11. Python refactoring

12. Documentation


To Install PyCharm in Ubuntu and other Linux using Snap:

1. Use the snap command to install the PyCharm Community Edition:

$ sudo snap install pycharm-community --classic

2. To remove PyCharm, you may use this command:

$ sudo snap remove pycharm-community


Install OpenOffice on Ubuntu 20.04 - Step by Step Process ?

This article covers how to perform the installation of the latest version of OpenOffice on the Ubuntu 20.04 system. Once installed users can easily use this application suite to make use of the different sub-modules.

Apache OpenOffice is a free and open-source office productivity software suite similar to LibreOffice and Microsoft Office suite.


Main features of Apache OpenOffice:

1. Writer a word processor you can use for anything from writing a quick letter to producing an entire book.

2. Calc a powerful spreadsheet with all the tools you need to calculate, analyze, and present your data in numerical reports or sizzling graphics.

3. Impress the fastest, most powerful way to create effective multimedia presentations.

4. Draw lets you produce everything from simple diagrams to dynamic 3D illustrations.

5. Base lets you manipulate databases seamlessly. Create and modify tables, forms, queries, and reports, all from within Apache OpenOffice.

6. Math lets you create mathematical equations with a graphic user interface or by directly typing your formulas into the equation editor.


To Uninstall LibreOffice on Ubuntu:

1. Uninstall LibreOffice on Ubuntu by running commands below in your terminal.

$ sudo apt-get remove --purge libreoffice*

This will remove LibreOffice and its dependencies. 

2. Next is to clear out the local repository of LibreOffice packages.

$ sudo apt clean

3. Clear all LibreOffice dependencies that are orphaned – no longer required.

$ sudo apt-get autoremove


Install MongoDB on CentOS 8 - Step by Step Process ?

This article covers MongoDB installation on CentOS 8 system.

Instead, it uses JSON-like documents with dynamic schemas, meaning that, unlike relational databases, MongoDB does not require a predefined schema before you add data to a database. 

You can alter the schema at any time and as often as is necessary without having to set up a new database with an updated schema.


How to Start the MongoDB Service and Test the Database on Ubuntu?

1. Run the following systemctl command to start the MongoDB service:

# sudo systemctl start mongod

2. Then check the service's status:

# sudo systemctl status mongod

This command will return output like the following, indicating that the service is up and running

3. After confirming that the service is running as expected, enable the MongoDB service to start up at boot:

# sudo systemctl enable mongod


How to Managing the MongoDB Service on Ubuntu?

1. The systemctl status command checks the status of the MongoDB service:

# sudo systemctl status mongod

2. You can stop the service anytime by typing:

# sudo systemctl stop mongod

3. To start the service when it’s stopped, run:

# sudo systemctl start mongod

4. You can also restart the server when it’s already running:

# sudo systemctl restart mongod

5. If you ever wish to disable this automatic startup, type:

# sudo systemctl disable mongod

6. Then to re-enable it to start up at boot, run the enable command again:

# sudo systemctl enable mongod


Compress PDF File in Ubuntu - Step by Step Process ?

This article covers how you can compress the PDF file size in Linux and its distributions like Ubuntu. 

Although applications like LibreOffice Writer allow you to convert your business documents into portable and secure PDFs, sometimes the files they produce are too large and unwieldy. These huge files may hog network bandwidth, waste space on company storage devices or be too big to share as email attachments. 

Fortunately, Ubuntu provides a complicated, but efficient method to reduce the size of your PDFs using the standard Ghostscript library of command line utilities.


How to use Ghostscript command to compress PDF file in Linux Systems ?

You can use Ghostscript command line tool for compressing a PDF file. 

Most Linux distributions include the open source version of Ghostscript already. 

However, you can still try to install it just to make sure.

On Debian/Ubuntu based distributions, use the following command to install Ghostscript:

$ sudo apt install ghostscript

1. Start a Ubuntu terminal session and navigate to the folder containing the PDF file you want to shrink.

2. PDF is in the Documents folder, type "cd Documents" (without the quotation marks) at the terminal prompt and press "Enter."

3. Type the Ghostscript command to reduce the size of your PDF file. For example, if your file is named "mydoc.pdf" and you want the reduced version to be called "mydocsmaller.pdf," type the following command at the terminal prompt as a single line:

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=mydocsmaller.pdf mydoc.pdf

This command instructs the Ghostscript GS utility to take the file "mydoc.pdf" and create a version 1.4-compatible, low-resolution PDF file called "mydoc_smaller.pdf" that is optimized to be displayed on your PC screen rather than printed on paper.