49595c7df59c42dd83f0e58929a12c7498f5bbff
My Ubuntu environment
make-ready bunch of scripts for easily installation of different software.
Requirements
- Ubuntu >= 20.04 (not tested with version < 20)
bash,zshor othersh-compatible shellmake(optional but recommended)wget(necessary for some scripts)git(necessary for some scripts)
If some dependecies are missed for some of these scripts it is enougth to run ./install/apt in most cases.
Usage
Clone this repo (recommended)
# if git is installed
git clone git@git.axenov.dev:anthony/my-env.git --depth=1
# if git is not installed
wget -qO - https://git.axenov.dev/anthony/my-env/archive/master.tar.gz | tar -zxf -
# switch to repo dir
cd my-env
# generate fresh ./Makefile and get full list of `make` goals
./gen-makefile
# get full list of `make` goals
make
Selective straightforward installation
# from remote file (you can meet interaction bugs this way!)
wget -qO - https://git.axenov.dev/anthony/my-env/raw/branch/master/install/apt | bash
# from locally cloned repo (except scripts from ./packs)
./install/apt
How to add my script?
- Create a new shell script in
./install,./upgradeor./uninstalldirectory.
At the beggining of a file you must write these two lines:#!/bin/bash ##makedesc: Your description for Makefile - Make this script executable, e.g.:
sudo chmod a+x ./install/myscript - Test your script
- Run
make selfto generate new./Makefile
How to create a pack?
You can create new file inside ./packs dir.
Syntax is same as classic makefile. It is important to add a comment with short description:
##mypack1: Pack description
mypack1: goal1 goal2 goalX ...
...
##mypackX: Pack description
mypackX: goalA goalB
@cp file1 file2
...
...
where:
mypack*is the pack namegoal*are script names in./install
TODO
- build: flameshot
- build: rustdesk
- JB mono (2)
- update scripts (when possible)
- uninstall scripts (when possible)
License
Languages
Shell
95.7%
Makefile
4.3%