Termux (Linux environment for Android)

Moderators: Elijah, Igbo, timetraveller

kramnik

Top contribute Forum
Forum Contributions
Points: 40 305,00 
Posts: 1924
Joined: 04/11/2019, 14:45
Status: Offline (Active 3 Months, 6 Days, 13 Hours, 48 Minutes ago)
Medals: 1
Topics: 71
Reputation: 2388
Location: North-Italy
Has thanked: 1185 times
Been thanked: 2951 times

Re: Termux (Linux environment for Android)

Post by kramnik »

Man, you should consider to compress your video file. Video Compressor on Play Store could be the right tool. I don't have anymore the cable here, so downloading such big videos on my phone is expensive in terms of bandwidth.
angel44e wrote: 26/04/2023, 13:24
Archimedes wrote: 26/04/2023, 13:15
angel44e wrote: 26/04/2023, 12:19 Hi,Archie and kramnik! I've installed termux and start cecsa.sh,but something is going wrong https://drive.google.com/file/d/12HANhqbQhNSnf1wXV5UEtsFsotJ66_hJ/view?usp=drivesdk
Could you make a video how to install termux and cctools and compile an engine?Thank you in advance!
Cannot access Google Drive.

https://pixeldrain.com/u/Qm6Nh2eC
angel44e
Forum Contributions
Points: 11 227,00 
Posts: 135
Joined: 19/04/2023, 16:17
Status: Offline (Active 2 Weeks, 4 Days, 3 Hours, 24 Minutes ago)
Topics: 8
Reputation: 170
Has thanked: 77 times
Been thanked: 232 times

Re: Termux (Linux environment for Android)

Post by angel44e »

kramnik wrote: 26/04/2023, 13:33 Man, you should consider to compress your video file. Video Compressor on Play Store could be the right tool. I don't have anymore the cable here, so downloading such big videos on my phone is expensive in terms of bandwidth.
angel44e wrote: 26/04/2023, 13:24
Archimedes wrote: 26/04/2023, 13:15
Cannot access Google Drive.

https://pixeldrain.com/u/Qm6Nh2eC
Compressed https://pixeldrain.com/u/vPNzioNy
Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 14 Hours, 8 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Re: Termux (Linux environment for Android)

Post by Archimedes »

angel44e wrote: 26/04/2023, 12:19 Hi,Archie and kramnik! I've installed termux and start cecsa.sh,but something is going wrong
Looks like the community compiler of GCC cannot be installed. Maybe something has changed there. I would have to look. But what works in any case is the GCC compiler from CCTools.

Reinstall Termux and make the following change in the script:

Code: Select all

CECSA_COMPILER_GCC_COMMUNITY_ENABLED=false
Then the GCC compiler from CCTools is used. I also use it. wink

As far as I saw, you did everything else correctly. What I didn't see after installing Termux was how you granted Termux file access.

Termux is from https://f-droid.org/en/packages/com.termux/?
kramnik

Top contribute Forum
Forum Contributions
Points: 40 305,00 
Posts: 1924
Joined: 04/11/2019, 14:45
Status: Offline (Active 3 Months, 6 Days, 13 Hours, 48 Minutes ago)
Medals: 1
Topics: 71
Reputation: 2388
Location: North-Italy
Has thanked: 1185 times
Been thanked: 2951 times

Re: Termux (Linux environment for Android)

Post by kramnik »

[quote=angel44e post_id=55481 time=1682518849
Compressed https://pixeldrain.com/u/vPNzioNy
[/quote]

1. download and install the latest Termux from here: https://f-droid.org/en/packages/com.termux/

2. launch in it these four commands:

apt update

apt upgrade

termux-setup-storage

exit


3. download this file: https://www.mediafire.com/file/grzi2dggnq7sm81/cecsa.sh/file

4. start Termux again

5. type these commands:

cp storage/downloads/cecsa.sh ~

bash cecsa.sh



That's all.

Let me know if you still have any problem.
Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 14 Hours, 8 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Termux (Linux environment for Android)

Post by Archimedes »

kramnik

Top contribute Forum
Forum Contributions
Points: 40 305,00 
Posts: 1924
Joined: 04/11/2019, 14:45
Status: Offline (Active 3 Months, 6 Days, 13 Hours, 48 Minutes ago)
Medals: 1
Topics: 71
Reputation: 2388
Location: North-Italy
Has thanked: 1185 times
Been thanked: 2951 times

Termux (Linux environment for Android)

Post by kramnik »

Does cecsa automatically download Stockfish??
MichaelM
I've been banned!
Points: 17 852,00 
Posts: 234
Joined: 27/08/2020, 23:44
Status: Offline (Active 8 Months, 3 Weeks, 3 Days, 19 Hours, 21 Minutes ago)
Topics: 3
Reputation: 255
1
Has thanked: 389 times
Been thanked: 362 times

Termux (Linux environment for Android)

Post by MichaelM »

kramnik wrote: 28/04/2023, 12:16 Does cecsa automatically download Stockfish??
Yes sure!
MichaelM
I've been banned!
Points: 17 852,00 
Posts: 234
Joined: 27/08/2020, 23:44
Status: Offline (Active 8 Months, 3 Weeks, 3 Days, 19 Hours, 21 Minutes ago)
Topics: 3
Reputation: 255
1
Has thanked: 389 times
Been thanked: 362 times

Termux (Linux environment for Android)

Post by MichaelM »

MichaelM wrote: 28/04/2023, 12:23
kramnik wrote: 28/04/2023, 12:16 Does cecsa automatically download Stockfish??
Yes sure!
Need more points. More easy questions like this? ssfgmfgsoke
kramnik

Top contribute Forum
Forum Contributions
Points: 40 305,00 
Posts: 1924
Joined: 04/11/2019, 14:45
Status: Offline (Active 3 Months, 6 Days, 13 Hours, 48 Minutes ago)
Medals: 1
Topics: 71
Reputation: 2388
Location: North-Italy
Has thanked: 1185 times
Been thanked: 2951 times

Termux (Linux environment for Android)

Post by kramnik »

Amazing!!
MichaelM wrote: 28/04/2023, 12:23
kramnik wrote: 28/04/2023, 12:16 Does cecsa automatically download Stockfish??
Yes sure!
MichaelM
I've been banned!
Points: 17 852,00 
Posts: 234
Joined: 27/08/2020, 23:44
Status: Offline (Active 8 Months, 3 Weeks, 3 Days, 19 Hours, 21 Minutes ago)
Topics: 3
Reputation: 255
1
Has thanked: 389 times
Been thanked: 362 times

Termux (Linux environment for Android)

Post by MichaelM »

kramnik wrote: 28/04/2023, 13:33 Amazing!!
MichaelM wrote: 28/04/2023, 12:23
kramnik wrote: 28/04/2023, 12:16 Does cecsa automatically download Stockfish??

Yes sure!
So you have never used cecsa?!
I have already used the very first version of cecsa back then, and even this first cecsa version automatically has downloaded all of the supported 5 or 6 engines!
kramnik

Top contribute Forum
Forum Contributions
Points: 40 305,00 
Posts: 1924
Joined: 04/11/2019, 14:45
Status: Offline (Active 3 Months, 6 Days, 13 Hours, 48 Minutes ago)
Medals: 1
Topics: 71
Reputation: 2388
Location: North-Italy
Has thanked: 1185 times
Been thanked: 2951 times

Termux (Linux environment for Android)

Post by kramnik »

I did use cecsa, but only to install gcc.
MichaelM wrote: 28/04/2023, 14:17
kramnik wrote: 28/04/2023, 13:33 Amazing!!
MichaelM wrote: 28/04/2023, 12:23
Yes sure!
So you have never used cecsa?!
I have already used the very first version of cecsa back then, and even this first cecsa version automatically has downloaded all of the supported 5 or 6 engines!
MichaelM
I've been banned!
Points: 17 852,00 
Posts: 234
Joined: 27/08/2020, 23:44
Status: Offline (Active 8 Months, 3 Weeks, 3 Days, 19 Hours, 21 Minutes ago)
Topics: 3
Reputation: 255
1
Has thanked: 389 times
Been thanked: 362 times

Termux (Linux environment for Android)

Post by MichaelM »

kramnik wrote: 29/04/2023, 15:45 I did use cecsa, but only to install gcc.
MichaelM wrote: 28/04/2023, 14:17
kramnik wrote: 28/04/2023, 13:33 Amazing!!

So you have never used cecsa?!
I have already used the very first version of cecsa back then, and even this first cecsa version automatically has downloaded all of the supported 5 or 6 engines!
Oh, I was talking about the scripts
cecsa_2023.04.26.tar.gz and older ones and not about cecsa.sh! These are two quite different things.
First scripts download and compile various engines while the second script cecsa.sh installs compilers, NDKs, libs and other stuff in Termux.

Archimedes choice of the script names is, however, a bit confusing :to_become_senile:
kramnik

Top contribute Forum
Forum Contributions
Points: 40 305,00 
Posts: 1924
Joined: 04/11/2019, 14:45
Status: Offline (Active 3 Months, 6 Days, 13 Hours, 48 Minutes ago)
Medals: 1
Topics: 71
Reputation: 2388
Location: North-Italy
Has thanked: 1185 times
Been thanked: 2951 times

Termux (Linux environment for Android)

Post by kramnik »

MichaelM wrote: 29/04/2023, 16:08Oh, I was talking about the scripts
cecsa_2023.04.26.tar.gz and older ones and not about cecsa.sh! These are two quite different things.
First scripts download and compile various engines while the second script cecsa.sh installs compilers, NDKs, libs and other stuff in Termux.

Archimedes choice of the script names is, however, a bit confusing :to_become_senile:
Maybe the first one is a fetal version of the latter...
MichaelM
I've been banned!
Points: 17 852,00 
Posts: 234
Joined: 27/08/2020, 23:44
Status: Offline (Active 8 Months, 3 Weeks, 3 Days, 19 Hours, 21 Minutes ago)
Topics: 3
Reputation: 255
1
Has thanked: 389 times
Been thanked: 362 times

Termux (Linux environment for Android)

Post by MichaelM »

kramnik wrote: 29/04/2023, 20:13
MichaelM wrote: 29/04/2023, 16:08Oh, I was talking about the scripts
cecsa_2023.04.26.tar.gz and older ones and not about cecsa.sh! These are two quite different things.
First scripts download and compile various engines while the second script cecsa.sh installs compilers, NDKs, libs and other stuff in Termux.

Archimedes choice of the script names is, however, a bit confusing :to_become_senile:
Maybe the first one is a fetal version of the latter...
No, it is almost exactly as I've described it.
Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 14 Hours, 8 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Termux (Linux environment for Android)

Post by Archimedes »

I should rename cecsa.sh to setup_cecsa.sh or install_cecsa.sh. :smile2:
Post Reply

Return to “Programming, Technical Discussions, Chess related questions etc.”