How to Install AIDE on Ubuntu 20.04 LTS
Introduction
Before we begin talking about how to Install AIDE on Ubuntu 20.04 LTS, let’s briefly understand – What is AIDE?
AIDE, or Android Integrated Development Environment, is a powerful tool for developing Android apps. It provides an intuitive interface and a wide range of useful features for app creation.
With AIDE, developers can code, compile, and debug their apps directly on their Android devices, eliminating the need for a computer. This portable and user-friendly platform is ideal for beginners and professionals alike, making it an essential toolkit for Android app development.
In this tutorial, you will Install AIDE in an independent environment on Ubuntu 20.04. We will also address a few FAQs on how to Install AIDE on Ubuntu 20.04 LTS.
Advantages of AIDE
- Intuitive Interface: AIDE offers a user-friendly environment, allowing developers to code, compile, and debug Android apps directly on their devices.
- Portability: With AIDE, there's no need for a computer as it runs on Android devices, making app development on the go a reality.
- Beginner-Friendly: AIDE's simplicity and helpful features make it an ideal choice for beginners venturing into Android app development.
- Extensive Features: A wide range of useful tools and features are available in AIDE, enhancing productivity and efficiency for professionals.
- Real-Time Testing: AIDE enables developers to instantly test their apps on the same device, saving time and streamlining the debugging process.
On Ubuntu, there are a few steps to installing and configuring AIDE:
Step 1: Update the System
sudo apt-get update
Step 2: Install the AIDE
sudo apt install aide
- Configure Postfix when doing the installation.
- Here is the output from the command.
- Choose a website.
- Select OK.
- Name of the server's mail server.
- Hit "OK."
- Verify the AIDE version.
sudo aide -v
- Here is the output from the command.
Output
Aide 0.16.1
Compiled with the following options:
WITH_MMAP
WITH_PCRE
WITH_POSIX_ACL
WITH_SELINUX
WITH_XATTR
WITH_E2FSATTRS
WITH_LSTAT64
WITH_READDIR64
WITH_ZLIB
WITH_MHASH
WITH_AUDIT
CONFIG_FILE = "/dev/null"
- Creating a new AIDE database.
sudo aideinit
- Here is the output from the command.
Output
Running aide --init...
Start timestamp: 2023-05-09 05:34:23 +0000 (AIDE 0.16.1)
AIDE initialized database at /var/lib/aide/aide.db.new
Verbose level: 6
Number of entries: 127748
---------------------------------------------------
The attributes of the (uncompressed) database(s):
---------------------------------------------------
/var/lib/aide/aide.db.new
RMD160 : c3Pzd3PmtkQxcbAEW2folhCbcdc=
TIGER : 537ChLM2a3nrsAxnogHabTx/TaPBYF0/
SHA256 : YRaRDe5REVKhecHDGaBhQQqsYDvfuJu6
b71lVZCZQrw=
SHA512 : v+Avq7+6guuOh3uJCszaE2ii3D5X7ATr
jvz7h/Gc8iEWRqYJlUWlvllh3jTn0mTi
ESJDfV4OpMy7uha7JiqRFA==
CRC32 : jFKIag==
HAVAL : VeoVeU5PN6WQyU5O85LtNg9hMozG858n
DEG3DAPXBSk=
GOST : L+NmTyhRdw3H5viC86YMXxsnpsyJj4H4
feMFoG/69SA=
End timestamp: 2023-05-09 05:39:13 +0000 (run time: 4m 50s)
- Duplicate the newly formed database.
sudo cp /var/lib/aide/aide.db.new /var/lib/aide/aide.db
- To upgrade the AIDE settings, edit this file:
update-aide.conf
- The new configuration file should be copied somewhere else.
sudo cp /var/lib/aide/aide.conf.autogenerated /etc/aide/aide.conf
Step 4: Test the AIDE.
- To examine the discrepancy between the file system and the AIDE database.
sudo aide -c /etc/aide/aide.conf -C
- Here is the output from the command.
Output
Start timestamp: 2023-05-09 05:46:16 +0000 (AIDE 0.16.1)
AIDE found differences between database and filesystem!!
Verbose level: 6
Summary:
Total number of entries: 127747
Added entries: 1
Removed entries: 1
Changed entries: 5
---------------------------------------------------
Added entries:
---------------------------------------------------
f++++++++++++++++: /var/lib/aide/aide.db
---------------------------------------------------
Removed entries:
---------------------------------------------------
l----------------: /run/systemd/units/invocation:packagekit.service
---------------------------------------------------
Changed entries:
---------------------------------------------------
f >b... mc..C.. .: /etc/aide/aide.conf
f =.... mc..... : /run/systemd/timesync/synchronized
d <.... mc.. .. : /run/systemd/units
f >.... mc..C.. .: /var/log/amazon/ssm/hibernate.log
f =.... mc..C.. .: /var/log/journal/ec21c873c54d3097e7cb32a793358897/system.journal
---------------------------------------------------
Detailed information about changes:
---------------------------------------------------
File: /etc/aide/aide.conf
Size : 6598 | 58434
Bcount : 16 | 120
Mtime : 2016-04-16 17:57:29 +0000 | 2023-05-09 05:46:03 +0000
Ctime : 2023-05-09 05:31:44 +0000 | 2023-05-09 05:46:03 +0000
RMD160 : kHZi6LuS1X5nlHkrtCLV9UdgDxo= | AvV6r+wTd63zOH+k3HDQQtdF85E=
TIGER : 4Xz+mZRAxr2kNIGOmTNJa/7Ftv+VpV37 | 87lgggJ+fbVvAzMCpnLHmdav6i2MkddK
SHA256 : RN1UT38/wRA8N5o4M4MHU8N+G49sK9nB | UDKjPULHfBr0SoCiNRLEhbY6NEcBHHL5
0B5VVewz3h8= | /o3wJEQDsHw=
SHA512 : o4LOstw3erheco5dpKcKLadGav29Ud9E | zB0Bbjeu2IDO8nwxLIijKC/QirTjEqxT
ZQd6cPiQZuQ7bsTZkx1MGEW+VYkhz5gj | MebBS7ApTvea97vtCyAc3GNikZBAjJzk
yKP7Fvoitf+jHcriq57Pgg== | wsi/WlfRNzk33h22E5AZnQ==
CRC32 : S3Rhfg== | 0pkOHQ==
HAVAL : +O7017egNOm+/TJW/3HxeQcxmz55pDM7 | IkTmkc575wnspQ4rVpWSrpNUPWRllb0t
S+TXtMWVN/E= | MI90IfNDn0Y=
GOST : 3NHf+nD39SudMxLJc5fkpkarUQ+unLQf | V4Mv9ivd+YNd1n3sU1oNhEO+BjCy9coj
NhV8dix9LIw= | bx1avaHZplA=
File: /run/systemd/timesync/synchronized
Mtime : 2023-05-09 05:27:39 +0000 | 2023-05-09 05:36:11 +0000
Ctime : 2023-05-09 05:27:39 +0000 | 2023-05-09 05:36:11 +0000
Directory: /run/systemd/units
Size : 1540 | 1520
Mtime : 2023-05-09 05:32:05 +0000 | 2023-05-09 05:37:12 +0000
Ctime : 2023-05-09 05:32:05 +0000 | 2023-05-09 05:37:12 +0000
File: /var/log/amazon/ssm/hibernate.log
Size : 756 | 1388
Mtime : 2023-05-09 05:14:48 +0000 | 2023-05-09 05:44:48 +0000
Ctime : 2023-05-09 05:14:48 +0000 | 2023-05-09 05:44:48 +0000
RMD160 : tDJKXgwlTL1yvEJ21PZtTW0gKBc= | JhBXXlOaqWJk0ZGG6/XDYsuNaQg=
TIGER : ChtmJkOOMJG5dJlZ7kd6JVyyOEBHShzK | 8zjJVlTGaII1RtNmdGXohhquPpim6taO
SHA256 : HUSKBtRjoyzoC+DCRtULDe7lD9QAf8GZ | IM5h7ak9H7HvhN143EL5pT3B2nezvSZs
y+RDjLPNCQU= | m9HkJ4pzjGs=
SHA512 : IelbD08BkqswH+1B7HpADaubcpN4o5ot | 0KmO9zJXcU4FBoS8kNWyJOoLD07AcrLS
xv7GfClqHoPdCBjnicUHD8ZAx3rk8BCw | faUOQ9nf0kg8Hiq5VwC/a87L/ogOkC39
JzUALZ/nbfKfLkBC77kySA== | SCTcQ6NaGI9CTRAYj4F81g==
CRC32 : DXpjXw== | MSV8Mg==
HAVAL : 4f/vGgewPTCfgvgSYZsdMkp0myMgY4qB | 9LTEwb6sUcFov+1WSEDR2ONiScMKSABr
YY2M4/mIplE= | ajXaabqvcvw=
GOST : +72DSPwDPeMmnzdvwfIRfgdniLObEp+d | aTbw//zVozcJ5GGOdcRQc7i0leOMpo6s
gHXXzT4bZW0= | Uxk/EElVGCU=
File: /var/log/journal/ec21c873c54d3097e7cb32a793358897/system.journal
Mtime : 2023-05-09 05:37:12 +0000 | 2023-05-09 05:46:17 +0000
Ctime : 2023-05-09 05:37:12 +0000 | 2023-05-09 05:46:17 +0000
RMD160 : zAnRbDYAGWj6L9qXHnYMmfUQD4c= | zalefhdS3L1oxZsMDp8Ht2H7Jvc=
TIGER : v9pJesDOO/BgrXnfEromkynyfUS3QNA7 | Ibt96xFdVPMjQk/V3ecMyZm+whLx78SX
SHA256 : 75oMQZVDb7n23T7+GV1ea1sj1Fm21cg3 | AJzQuIdFsyBeNjnNPKoQ444GnytkoL5a
PQd2msFWz+8= | A8gOzNdOU2g=
SHA512 : 6TGTsyhIiiEfdmVWxZWXPaqcfAqRoPNt | IHNGLsRQhUoVXUdw3r0mLLNP+fu+XVSJ
W1a5905QV7m/Ql/RgsmjRFZjMT2PhiNi | xBgvBCSA/cBj/1dXuhKTgxpubCvsQPQN
IwnturOqm20qo2NIbxVYrQ== | CFn+TlpKoqvPyiAGNLNtvw==
CRC32 : H5GGFw== | KOwG3A==
HAVAL : Z8cUdKr72PHWsxrpdGqoy0uVIKuBYdDc | K7hSPjHxmGymNMpCL3sqP2bXnlDYX9b2
h0hz1B1HIdY= | KPzXHZID4yY=
GOST : 7Qz+BjoQ/5AYdpf5JYOHyjl1qES4vJ82 | uPtRCcHNHSPsTsH60OHxW7UJEvkfg3pG
IhtMxZp0QTs= | m5byWl1En6g=
---------------------------------------------------
The attributes of the (uncompressed) database(s):
---------------------------------------------------
/var/lib/aide/aide.db
RMD160 : c3Pzd3PmtkQxcbAEW2folhCbcdc=
TIGER : 537ChLM2a3nrsAxnogHabTx/TaPBYF0/
SHA256 : YRaRDe5REVKhecHDGaBhQQqsYDvfuJu6
b71lVZCZQrw=
SHA512 : v+Avq7+6guuOh3uJCszaE2ii3D5X7ATr
jvz7h/Gc8iEWRqYJlUWlvllh3jTn0mTi
ESJDfV4OpMy7uha7JiqRFA==
CRC32 : jFKIag==
HAVAL : VeoVeU5PN6WQyU5O85LtNg9hMozG858n
DEG3DAPXBSk=
GOST : L+NmTyhRdw3H5viC86YMXxsnpsyJj4H4
feMFoG/69SA=
End timestamp: 2023-05-09 05:50:43 +0000 (run time: 4m 27s)
- To do database updates.
sudo aide -c /etc/aide/aide.conf --update
- Here is the output from the command.
Output
Start timestamp: 2023-05-09 06:00:47 +0000 (AIDE 0.16.1)
AIDE found differences between database and filesystem!!
New AIDE database written to /var/lib/aide/aide.db.new
Verbose level: 6
Summary:
Total number of entries: 127747
Added entries: 1
Removed entries: 1
Changed entries: 6
---------------------------------------------------
Added entries:
---------------------------------------------------
f++++++++++++++++: /var/lib/aide/aide.db
---------------------------------------------------
Removed entries:
---------------------------------------------------
l----------------: /run/systemd/units/invocation:packagekit.service
---------------------------------------------------
Changed entries:
---------------------------------------------------
f >b... mc..C.. .: /etc/aide/aide.conf
f =.... mc..... : /run/systemd/timesync/synchronized
d <.... mc.. .. : /run/systemd/units
f =.... mc..... .: /var/lib/systemd/timesync/clock
f >.... mc..C.. .: /var/log/amazon/ssm/hibernate.log
f =.... mc..C.. .: /var/log/journal/ec21c873c54d3097e7cb32a793358897/system.journal
---------------------------------------------------
Detailed information about changes:
---------------------------------------------------
File: /etc/aide/aide.conf
Size : 6598 | 58434
Bcount : 16 | 120
Mtime : 2016-04-16 17:57:29 +0000 | 2023-05-09 05:46:03 +0000
Ctime : 2023-05-09 05:31:44 +0000 | 2023-05-09 05:46:03 +0000
RMD160 : kHZi6LuS1X5nlHkrtCLV9UdgDxo= | AvV6r+wTd63zOH+k3HDQQtdF85E=
TIGER : 4Xz+mZRAxr2kNIGOmTNJa/7Ftv+VpV37 | 87lgggJ+fbVvAzMCpnLHmdav6i2MkddK
SHA256 : RN1UT38/wRA8N5o4M4MHU8N+G49sK9nB | UDKjPULHfBr0SoCiNRLEhbY6NEcBHHL5
0B5VVewz3h8= | /o3wJEQDsHw=
SHA512 : o4LOstw3erheco5dpKcKLadGav29Ud9E | zB0Bbjeu2IDO8nwxLIijKC/QirTjEqxT
ZQd6cPiQZuQ7bsTZkx1MGEW+VYkhz5gj | MebBS7ApTvea97vtCyAc3GNikZBAjJzk
yKP7Fvoitf+jHcriq57Pgg== | wsi/WlfRNzk33h22E5AZnQ==
CRC32 : S3Rhfg== | 0pkOHQ==
HAVAL : +O7017egNOm+/TJW/3HxeQcxmz55pDM7 | IkTmkc575wnspQ4rVpWSrpNUPWRllb0t
S+TXtMWVN/E= | MI90IfNDn0Y=
GOST : 3NHf+nD39SudMxLJc5fkpkarUQ+unLQf | V4Mv9ivd+YNd1n3sU1oNhEO+BjCy9coj
NhV8dix9LIw= | bx1avaHZplA=
File: /run/systemd/timesync/synchronized
Mtime : 2023-05-09 05:27:39 +0000 | 2023-05-09 05:53:16 +0000
Ctime : 2023-05-09 05:27:39 +0000 | 2023-05-09 05:53:16 +0000
Directory: /run/systemd/units
Size : 1540 | 1520
Mtime : 2023-05-09 05:32:05 +0000 | 2023-05-09 05:37:12 +0000
Ctime : 2023-05-09 05:32:05 +0000 | 2023-05-09 05:37:12 +0000
File: /var/lib/systemd/timesync/clock
Mtime : 2023-05-09 05:36:11 +0000 | 2023-05-09 05:53:16 +0000
Ctime : 2023-05-09 05:36:11 +0000 | 2023-05-09 05:53:16 +0000
File: /var/log/amazon/ssm/hibernate.log
Size : 756 | 1388
Mtime : 2023-05-09 05:14:48 +0000 | 2023-05-09 05:44:48 +0000
Ctime : 2023-05-09 05:14:48 +0000 | 2023-05-09 05:44:48 +0000
RMD160 : tDJKXgwlTL1yvEJ21PZtTW0gKBc= | JhBXXlOaqWJk0ZGG6/XDYsuNaQg=
TIGER : ChtmJkOOMJG5dJlZ7kd6JVyyOEBHShzK | 8zjJVlTGaII1RtNmdGXohhquPpim6taO
SHA256 : HUSKBtRjoyzoC+DCRtULDe7lD9QAf8GZ | IM5h7ak9H7HvhN143EL5pT3B2nezvSZs
y+RDjLPNCQU= | m9HkJ4pzjGs=
SHA512 : IelbD08BkqswH+1B7HpADaubcpN4o5ot | 0KmO9zJXcU4FBoS8kNWyJOoLD07AcrLS
xv7GfClqHoPdCBjnicUHD8ZAx3rk8BCw | faUOQ9nf0kg8Hiq5VwC/a87L/ogOkC39
JzUALZ/nbfKfLkBC77kySA== | SCTcQ6NaGI9CTRAYj4F81g==
CRC32 : DXpjXw== | MSV8Mg==
HAVAL : 4f/vGgewPTCfgvgSYZsdMkp0myMgY4qB | 9LTEwb6sUcFov+1WSEDR2ONiScMKSABr
YY2M4/mIplE= | ajXaabqvcvw=
GOST : +72DSPwDPeMmnzdvwfIRfgdniLObEp+d | aTbw//zVozcJ5GGOdcRQc7i0leOMpo6s
gHXXzT4bZW0= | Uxk/EElVGCU=
File: /var/log/journal/ec21c873c54d3097e7cb32a793358897/system.journal
Mtime : 2023-05-09 05:37:12 +0000 | 2023-05-09 06:00:47 +0000
Ctime : 2023-05-09 05:37:12 +0000 | 2023-05-09 06:00:47 +0000
RMD160 : zAnRbDYAGWj6L9qXHnYMmfUQD4c= | iRPJo7lbgtlDC0FFMPmUJWkH8uI=
TIGER : v9pJesDOO/BgrXnfEromkynyfUS3QNA7 | SMErIpCN/WJw5ctL2bk6T8CPKtn0qACD
SHA256 : 75oMQZVDb7n23T7+GV1ea1sj1Fm21cg3 | n7w9a1Zr1jdLwEGMi6W9kdX13T/gkgae
PQd2msFWz+8= | NrIc2vyyxBI=
SHA512 : 6TGTsyhIiiEfdmVWxZWXPaqcfAqRoPNt | sLptSC63K2/yQ384RnLMwhtVLlGEmZZ5
W1a5905QV7m/Ql/RgsmjRFZjMT2PhiNi | RaD2HmtmAV089eHiJ80H5C716SzCQRKe
IwnturOqm20qo2NIbxVYrQ== | sDkc42zzAn1d8nytvxI4wQ==
CRC32 : H5GGFw== | ES8pKQ==
HAVAL : Z8cUdKr72PHWsxrpdGqoy0uVIKuBYdDc | eZxxWtraJKKY0Awi0TOq/tBZcOe7k3xB
h0hz1B1HIdY= | SrcMlre/Mjw=
GOST : 7Qz+BjoQ/5AYdpf5JYOHyjl1qES4vJ82 | 89D5/bnGV1hMyO7z6Z/lKPZR7xu80nzn
IhtMxZp0QTs= | ixJntIuoc3M=
---------------------------------------------------
The attributes of the (uncompressed) database(s):
---------------------------------------------------
/var/lib/aide/aide.db
RMD160 : c3Pzd3PmtkQxcbAEW2folhCbcdc=
TIGER : 537ChLM2a3nrsAxnogHabTx/TaPBYF0/
SHA256 : YRaRDe5REVKhecHDGaBhQQqsYDvfuJu6
b71lVZCZQrw=
SHA512 : v+Avq7+6guuOh3uJCszaE2ii3D5X7ATr
jvz7h/Gc8iEWRqYJlUWlvllh3jTn0mTi
ESJDfV4OpMy7uha7JiqRFA==
CRC32 : jFKIag==
HAVAL : VeoVeU5PN6WQyU5O85LtNg9hMozG858n
DEG3DAPXBSk=
GOST : L+NmTyhRdw3H5viC86YMXxsnpsyJj4H4
feMFoG/69SA=
/var/lib/aide/aide.db.new
RMD160 : u4c1eOsROn6RKsyaXbkGYFoFt34=
TIGER : uBf6KEWsMpuY+MiBkdD+WmW2tI1x6KUJ
SHA256 : 9w8iqGd6V0JelAZTAiCjgmQaS7rLmjUj
9RY8q5ZwzGM=
SHA512 : eJfGPRuN81Ie1g+YbhXKxFzdp0/VS1Qe
CITpaElNhKoW414ATddlzBFJNyDC7FiF
7suNvxtf4+IlryY41Kpf6Q==
CRC32 : uaPIcg==
HAVAL : l1g/CsTl8n15hXKT5zFSQgnjJ7rTe+4t
1gq4kU1TsgI=
GOST : lEOrcLQSbaw4Bj+38oTHTCrrgSxtv5xm
7GqhjCYXuI4=
End timestamp: 2023-05-09 06:05:26 +0000 (run time: 4m 39s)
- To verify and modify the database entries that correspond to /etc.
sudo aide -c /etc/aide/aide.conf --limit /etc --check
- Here is the output from the command.
Output
Start timestamp: 2023-05-09 06:06:30 +0000 (AIDE 0.16.1)
AIDE found differences between database and filesystem!!
Limit: /etc | Verbose level: 6
Summary:
Total number of entries: 127748
Added entries: 0
Removed entries: 0
Changed entries: 1
---------------------------------------------------
Changed entries:
FAQs to Install AIDE on Ubuntu 20.04 LTS
Does AIDE require any additional dependencies or packages?
AIDE may have some dependencies that are automatically installed during the installation process. However, these dependencies are generally handled by the package system.
Can I use AIDE for Android app development on Ubuntu 20.04 LTS?
Yes, AIDE is a versatile IDE that supports Android app development, and you can use it on Ubuntu 20.04 LTS for this purpose.
Can I integrate AIDE with Android emulators or virtual devices?
Yes, AIDE supports integration with Android emulators and virtual devices, allowing you to easily test and debug your apps.
Is AIDE suitable for professional Android app development?
Absolutely! AIDE provides extensive features and tools, making it suitable for both beginners and professionals in Android app development.
Does AIDE have version control system integration?
Yes, AIDE supports version control system integration, including Git, enabling collaborative app development and source code management.
Can I work on multiple Android projects simultaneously in AIDE?
Yes, AIDE allows you to work on multiple Android projects concurrently, providing a smooth and organized development experience.
Is AIDE actively maintained and regularly updated?
Yes, AIDE is actively maintained, and updates are regularly released to ensure compatibility with the latest Android APIs and technologies.
Conclusion
In this tutorial, you learned how to install AIDE on Ubuntu 20.04 LTS. If you have any queries or doubts, please leave them in the comment below. We'll be happy to address them.