Linux Resources
- Home
- Linux Resources
This article covers how to install Terminalizer which is a terminal recording tool on a Linux distribution of your choice, you will be able to conveniently record all your terminal-related activities.
Terminalizer is a fancy and highly customizable CLI tool that records and renders terminal activity and can make an animated GIF image from it.
It can work well on Ubuntu, CentOS, Arch Linux, SUSE, RedHat, Fedora, and so on.
How to perform the Installation of terminalizer on Linux systems ?
To install the terminalizer, run the following command:
$ sudo npm install -g terminalizer
In the higher version of Node.js, there might be a failure of installation. In such a case, let's install the developer tools to compile the C++ add-ons.
$ sudo apt install build-essential
To verify the installation of development tools, run the following command:
$ gcc -v
$ make -v
How to use the terminalizer ?
To use terminalizer, First run the test file in the current directory with the following command:
$ terminalizer record test
You can run some commands then press ctrl+D to save the recording as a YAML file (test.yml).
Now, you can play the recording by running the below command that shows all the history of the command running on that session:
$ terminalizer play test
How to Create animated Gif ?
You can create a animated Gif of the terminal session with the following command:
$ sudo terminalizer render test
Here, we are trying to create a animated Gif for our terminal session with file name test.yml.
You will get the animated gif with the program default settings for our terminal session of the test file.
To install Node.js on Ubuntu:
1. update your system.
$ apt update
2. Next, run the command below to install Node.js from the repositories.
$ apt install node.js
3. Upon successful installation of node.js, you can verify the version of Node.js using the command as shown.
$ nodejs --version
This article covers how to install and configure the Memcached caching server on CentOS 8 system through the command-line tool.
Now, you can easily install and configure the Memcached server on your CentOS 8 system easily.
Memcached is a free and open-source high-performance in-memory key-value data store.
Typically, it used as a caching system to speed up applications by caching various objects from the results of database calls.
To install memcached on CentOS, perform the following tasks as a user with root privileges:
1. Install memcached and its dependencies:
$ yum -y update
$ yum install -y libevent libevent-devel
$ yum install -y memcached
$ yum install -y php-pecl-memcache
2. Change the memcached configuration setting for CACHESIZE and OPTIONS:
i. Open /etc/sysconfig/memcached in a text editor.
ii. Locate the value for CACHESIZE and change it to at least 1GB. For example
CACHESIZE="1GB"
iii. Locate the value for OPTIONS and change it to localhost or 127.0.0.1
3. Save your changes to memcached and exit the text editor.
4. Restart memcached.
$ service memcached restart
5. Restart your web server.
For Apache:
$ service httpd restart
This article covers the different methods for the installation of NetBeans on Ubuntu OS.
NetBeans is an open source integrated development environment that comes with good cross-platform support.
You can configure this tool to support a wide array of development objectives.
Practically, you can develop Web, Desktop and Mobile Applications without leaving this platform.
Besides this, the user can add a wide array of known languages such as PHP, C, C++, HTML, Ajax, JavaScript, JSP, Ruby on Rails and so on.
To install Netbeans IDE on any Linux distribution using Snap.
Snap is a universal package manager and if you have enabled Snap on your distribution, you can install it using the following command:
$ sudo snap install netbeans --classic
This article covers how to install mono on Ubuntu 20.04 system.
We have also explored how you can build a program using the mono framework.
The mono installation takes time to complete on your Ubuntu system. So, be patient when you will install mono on your system.
To install Mono on Ubuntu:
1. Add its repository, run the commands below.
$ sudo apt update.
$ sudo apt install dirmngr gnupg apt-transport-https ca-certificates
2. Next, run the commands below to add its repository and key and repository file to Ubuntu.
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
sudo sh -c 'echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" > /etc/apt/sources.list.d/mono-official-stable.list'
3. Now that Mono repository and key are added, run the commands below to finally install it.
$ sudo apt update
$ sudo apt install mono-complete
This article covers the different methods through which you can install the Speedtest utility on your CentOS 8 system.
Also, we have also shown how to test the internet speed through the Speedtest-cli utility and how to generate URLs to share with others.
To Install Speedtest-cli on CentOS 8:
1. Open the terminal to make sure that Python is installed and working properly. Type the following command to check Python version:
$ python --version
If python is not installed on your system then first you will install python on your system.
For this purpose, you need to run the below-mentioned command on the terminal to install python on CentOS 8.
$ sudo yum install python2
2. Download the speedtest_cli.py file using 'wget' command:
$ wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
After successfully saved the downloaded file, you will type the following command on the terminal:
$ chmod +x speedtest-cli
This article covers how you can install PlayOnLinux on Ubuntu OS using two different ways.
You can opt for any installation method (command line or GUI-based method) that is most convenient for you.
PlayOnLinux will allow you to install your Windows-based software on different virtual drives, which means that there is no interaction between the different applications you install.
So if something doesn't work right, you know it won't affect the rest of your stuff and they can easily uninstall it by removing the virtual drive.
To install PlayOnLinux on Ubuntu:
PlayOnLinux can be found in the Ubuntu software repositories, so you can get it from Ubuntu Software Center or install it with the following command:
$ sudo apt update
$ sudo apt install playonlinux
It is also recommended to install some dependencies that may be necessary:
# sudo apt-get install winbind
# sudo apt-get install unrar-free p7zip-full