Skip to content

paulowender/tarinstall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Tarinstall

A simple bash script to easily install Linux applications distributed as tar.gz files.

Installation

  1. Download the script:
curl -O https://raw.githubusercontent.com/yourusername/tarinstall/main/tarinstall
  1. Make it executable:
chmod +x tarinstall
  1. Move to system path:
sudo mv tarinstall /usr/local/bin/

Usage

Basic usage:

tarinstall application.tar.gz

Examples

Installing Visual Studio Code:

tarinstall code-stable-x64-linux.tar.gz

Installing Postman:

tarinstall Postman-linux-x64.tar.gz

Features

  • Automatically extracts tar.gz files to /opt
  • Creates desktop shortcuts
  • Adds program to system PATH
  • Auto-detects executable files
  • Searches for application icons
  • Allows custom application names
  • Removes previous installations

Requirements

  • Linux system
  • sudo privileges
  • tar command
  • bash shell

Notes

The script will:

  1. Extract the contents to /opt/[appname]
  2. Create a symlink in /usr/local/bin
  3. Create a desktop entry
  4. Make the application globally accessible

You can run the installed application by typing its name in the terminal or finding it in your applications menu.

Buy Me a Coffee โ˜•

If this script helped you save time, consider buying me a coffee!

    ( (
     ) )
  .........
  |       |]
  \       /
   `---'

PIX Key (Brazil): [email protected]

Every coffee helps fuel more open source tools! Your support keeps me coding and caffeinated. ๐Ÿš€


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages