Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Build from source and install Akira on Ubuntu (18.0.4.2)
#!/bin/bash
# This is the main script, only execute this to install all dependencies and finally Akira.
# Once done, you can find Akira icon in your applications menu.
# Execute by: ./build_akira_for_ubuntu.sh
# Install Vala Language:
sudo apt install vala-0.40-doc valac-0.40-vapi valac
# Build Granite (make sure this script is in the same folder)
./build_and_install_granite.sh
# Build Vala-Lint (make sure this script is in the same folder
./build_and_install_vala_lint.sh
# Install Other deps
sudo apt-get install gtk+-3.0 glib-2.0 gee-0.8 gobject-2.0 libxml2 gtksourceview-3.0 goocanvas-2.0 libcairo2 meson libarchive-dev appstream-util
# Navigate back to the main directory
cd ../
# build Akira
meson build --prefix=/usr -Dprofile=development
cd build
ninja && sudo ninja install
#!/bin/bash
# Execute by: ./build_and_install_granite.sh
# Install dependencies
sudo apt-get install libgirepository1.0-dev
# Clone the latest master
git clone git@github.com:elementary/granite.git
# Navigate to the latest cloned repo folder
cd granite
# Run meson
meson build --prefix=/usr
# Navigate to build directory
cd build
# Build using ninja
ninja && sudo ninja install
# Remove the source for granite
cd ../../
rm -rf granite
#!/bin/bash
# Execute by: ./build_and_install_vala_lint.sh
# Install dependencies
sudo apt-get install meson gio-2.0 valac libvala-0.40
# Clone the latest master
git clone git@github.com:elementary/vala-lint.git
# Navigate to the latest cloned repo folder
cd vala-lint
# Run meson
meson build --prefix=/usr
# Navigate to build directory
cd build
# Build using ninja
ninja && sudo ninja install
# Remove the source for vala-lint
cd ../../
rm -rf vala-lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment