Online Notes
linux

Recent linux Snippets

  • How To Troubleshoot Socket Errors in MySQL – Ubuntu
  • How to remove .html, .php, etc (extension) from URL?
  • Ubuntu with Apache2: Installing and Configuring Your SSL Certificate
  • Create zip archive excluding specific Files & Directories
  • how to use sudo command to install .tar.gz?
  • Change ownership of the directory in ubuntu
  • failed to retrieve share list from server connection refused ubuntu 18.04
  • How to Fix ‘Failed to Retrieve Share List from Server’ in Ubuntu 12.04 / 11.10 when File Sharing with Windows
  • How To Change Your PHP Settings on Ubuntu 14.04 (Increase upload size in your php.ini)
  • MySQL Server Installed Without Password For Root On Ubuntu 17.10 / 18.04

how to use sudo command to install .tar.gz?

  • Snippets

To install some file *.tar.gz, you basically would do:

  1. Open a console, and go to the directory where the file is
  2. Type: tar -zxvf file.tar.gz
  3. Read the file INSTALL and/or README to know if you need some dependencies.

Most of the times you only need to:

  1. type ./configure
  2. make
  3. sudo make install

Related posts

  • MySQL Server Installed Without Password For Root On Ubuntu 17.10 / 18.04
  • Change ownership of the directory in ubuntu
  • Edit a file using comand line
  • Uninstall or Completely remove mysql from ubuntu
  • Install cURL in your PHP installation
  • Create zip archive excluding specific Files & Directories
  • Remove Apache, MySQL and PHP 7 on Ubuntu Xenial #php #ubuntu #lamp
  • Zip/unzip all files in a directory
  • How To Install and Secure phpMyAdmin
  • How to fix “W: Duplicate sources.list entry”?

Recent Snippets

  • How to Install Angular on Ubuntu (18.04 & 16.04)
  • Install Node.js in Ubuntu
  • Angular CLI & Troubleshooting
  • Simple POJO Example - Employee
  • Hibernate Example Configuration File — hibernate.cfg.xml

Recent Examples

  • How to reverse Singly Linked List?
  • Find out duplicate number between 1 to N numbers.
  • Find out middle index where sum of both ends are equal
  • Write a singleton class in Java
  • Write a java program to reverse a string?

Recent Questions

  • What are the modules of spring framework?
  • List some of the Spring Framework Annotations?
  • How many types of association mapping are possible in hibernate?
  • Define persistent classes?
  • What is HQL?

  • Contact

All Right Reserved © Online Note