This repository contains a Bash script that automates the process of setting up a Linux development environment, including installing dependencies, configuring Ventoy, and supporting Qt with MySQL integration.
-
Download Required Files:
- Downloads the latest version of Ventoy and an ISO image of Ubuntu.
- Unpacks the Ventoy package and grants execution permissions to the Ventoy graphical interface.
-
Dependency Installation:
- Installs essential packages for compilation and development, such as Git, CMake, MySQL libraries and Qt dependencies.
-
Qt Installation and Configuration:
- Downloads and installs Qt version 5.14.2, granting execution permissions to the installer.
- Configures Qt to support the MySQL connection plugin.
-
Commented Steps:
- There are commented instructions for configuring Git, including setting the user name, email, cloning repositories, and initializing Git version control.
- The script references the
up-mach.sh
file for automatic execution.
-
Clone the repository:
git clone https://github.com/raphaelkaique1/environment.git cd environment
-
Make the script executable:
chmod +x setup.sh
-
Run the script:
./setup.sh
The script automatically installs the following packages:
git
build-essential
libfontconfig1
mesa-common-dev
libglu1-mesa-dev
cmake
make
g++
mysql-client
libssl-dev
libmysqlclient-dev
libmysql++-dev
libmysqlcppconn-dev
libqt5sql5-mysql
mysql-server
libproj15
libzip5
libavdevice58
libavresample4
llvm
llvm-dev
libclang-dev
gperf
- Make sure you have administrative permissions (sudo) to install packages and run the script.
- The script is compatible with Debian/Ubuntu based Linux distributions.
- Some parts of the code are commented for manual configuration, such as Git configuration.
.
├── setup.sh # Automated configuration script
└── README.md # Project instructions and information
This project is licensed under the MIT license - see the LICENSE file for more details.